package com.wjc.train.business.mapper;

import com.wjc.train.business.entity.TrainCarriage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjc.train.business.req.TrainCarriageQueryReq;
import com.wjc.train.business.resp.TrainCarriageQueryResp;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 车厢表 Mapper 接口
 * </p>
 *
 * @author Guessed
 * @since 2023-08-02
 */
public interface TrainCarriageMapper extends BaseMapper<TrainCarriage> {

  IPage<TrainCarriageQueryResp> queryList(@Param("page") IPage<TrainCarriageQueryResp> page,
                                       @Param("traincarriageQueryReq") TrainCarriageQueryReq traincarriageQueryReq);
}
